home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cpptut22.zip / CAR.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  357b  |  21 lines

  1.                                   // Chapter 7 - Program 4
  2. #ifndef CAR_H
  3. #define CAR_H
  4.  
  5. #include "vehicle.h"
  6.  
  7. class car : public vehicle {
  8.    int passenger_load;
  9. public:
  10.    void initialize(int in_wheels, float in_weight, int people = 4);
  11.    int passengers(void);
  12. };
  13.  
  14. #endif
  15.  
  16.  
  17.  
  18. // Result of execution
  19. //
  20. // (this file cannot be executed)
  21.